package com.ruoyi.orderParent.service;

import java.util.Date;
import java.util.List;

import com.ruoyi.orderParent.domain.OrderDetail;
import com.ruoyi.orderParent.domain.SysOrderDetail;
import com.ruoyi.orderParent.domain.SysOrderParent;

/**
 * 批量订单Service接口
 * 
 * @author ruoyi
 * @date 2024-06-24
 */
public interface ISysOrderParentService 
{
    /**
     * 查询批量订单
     * 
     * @param id 批量订单主键
     * @return 批量订单
     */
    public SysOrderParent selectSysOrderParentById(Long id);

    /**
     * 查询批量订单列表
     * 
     * @param sysOrderParent 批量订单
     * @return 批量订单集合
     */
    public List<SysOrderParent> selectSysOrderParentList(SysOrderParent sysOrderParent);

    /**
     * 新增批量订单
     * 
     * @param sysOrderParent 批量订单
     * @return 结果
     */
    public int insertSysOrderParent(SysOrderParent sysOrderParent);

    /**
     * 修改批量订单
     * 
     * @param sysOrderParent 批量订单
     * @return 结果
     */
    public int updateSysOrderParent(SysOrderParent sysOrderParent);

    /**
     * 批量删除批量订单
     * 
     * @param ids 需要删除的批量订单主键集合
     * @return 结果
     */
    public int deleteSysOrderParentByIds(Long[] ids);

    /**
     * 删除批量订单信息
     * 
     * @param id 批量订单主键
     * @return 结果
     */
    public int deleteSysOrderParentById(Long id);

    List<SysOrderDetail> getSysOrderParentById(Long id);

    List<SysOrderDetail> getSysOrderDetail(OrderDetail orderDetail,Long id);

    List<SysOrderParent> getSysOrderParentList(SysOrderParent sysOrderParent, Date beginCreateTime, Date endCreateTime);
}
